﻿using Base.FileRemoteModel.UserFile.Model;

namespace Basic.FlowExtendService
{
    public interface IFileService
    {
        bool Accredit ( long fileId, string accreditId, int validTime = 600 );
        void Drop ( long[] fileId );
        UserFileData[] GetUserFiles ( string[] linkType, List<long> linkPkId );
        void Restore ( long[] fileId );
        void Save ( long[] fileId, long linkBizPk );

        void Save ( long fileId, long linkBizPk );
        void Save ( long fileId, long id, string src );
        void ToVoid ( long[] fileId );
    }
}